﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace nwrole.console
{
    [global::System.AttributeUsage(AttributeTargets.Method, Inherited = true, AllowMultiple = false)]
    sealed class CommandAttribute : Attribute
    {
        readonly string[] names;

        public CommandAttribute (params string[] names)
        {
            this.names = names;
        }

        public string[] Names
        {
            get { return names; }
        }
    }
}
